﻿using System.Collections.Generic;

namespace WJSHWebApi.DBModel
{
    public class AGVmodel 
    {
        public bool Result { get; set; }
        public List<AGVStatus> Data { get; set; }
        public AGVmodel()
        {
            this.Data = new List<AGVStatus>();
        }
    }
    public class AGVStatus: BaseDbmodel
    {
        public int id { get; set; }
        public int TaskId { get; set; }

        public bool Result { get; set; }
        public int AGVId { get; set; }
        public bool IsMater { get; set; }

        public bool IsAlarm { get; set; }

        public bool AlarmMg { get; set; }

        public bool LowPower { get; set; }

        public string TaskStatus { get; set; }

        public string StationNet { get; set; }

        public int CurrentStation { get; set; }
    }


    public class ChargerModel
    {

        public bool Result { get; set; }
        public List<Charger> Data { get; set; }
        public ChargerModel()
        {
            this.Data = new List<Charger>();

        }
    }
    public class Charger
    {
        public string DeviceId { get; set; }
        public string DeviceName { get; set; }
        public int possessId { get; set; }

    }

    public class WareHouse
    {
        public bool Result { get; set; }

        public List<RawWareHouse> RawWareHouseList { get; set; }
        public List<SFP> SFPList { get; set; }
        public List<Aging> AgingList { get; set; }
        public List<Cache> CacheList { get; set; }

        public WareHouse()
        {

            this.RawWareHouseList = new List<RawWareHouse>();
            this.SFPList = new List<SFP>();
            this.AgingList = new List<Aging>();
            this.CacheList = new List<Cache>();
        }

    }

    public class RawWareHouse
    {
        public int ShelvesId { get; set; }
        public int FloorId { get; set; }
        public int ColumnId { get; set; }
        public string DeviceName { get; set; }
        public bool IsTask { get; set; }
        public bool IsMater { get; set; }
        public bool IsFlag { get; set; }
        public bool IsLock { get; set; }
        public bool IsAlarm { get; set; }
        public int Station { get; set; }

    }
    public class SFP
    {
        public int ShelvesId { get; set; }
        public int FloorId { get; set; }
        public int ColumnId { get; set; }
        public string DeviceName { get; set; }
        public bool IsTask { get; set; }
        public bool IsReported { get; set; }
        public bool IsMater { get; set; }
        public bool IsFlag { get; set; }
        public bool IsLock { get; set; }
        public bool IsAlarm { get; set; }
        public int Station { get; set; }

    }
    public class Aging
    {
        public int ShelvesId { get; set; }
        public int FloorId { get; set; }
        public int ColumnId { get; set; }
        public string DeviceName { get; set; }
        public bool IsTask { get; set; }
        public bool IsMater { get; set; }
        public bool IsFlag { get; set; }
        public bool IsLock { get; set; }
        public bool IsAlarm { get; set; }
        public int Station { get; set; }

    }
    public class Cache
    {
        public string DeviceId { get; set; }
        public string DeviceName { get; set; }
        public bool IsTask { get; set; }
        public bool IsMater { get; set; }
        public bool IsFlag { get; set; }
        public bool IsLock { get; set; }
        public bool IsAlarm { get; set; }
        public int Station { get; set; }

    }



    public class TaskStatusModel
    {
        public bool Result { get; set; }
        public List<TaskStatus> Data { get; set; }
        public TaskStatusModel()
        {
            this.Data = new List<TaskStatus>();
        }
    }

    public class TaskStatus
    {
        public string DeviceId { get; set; }
        public string DeviceName { get; set; }
        public string TaskName { get; set; }
        public string ActionType { get; set; }
        public int DeviceStation { get; set; }
        public string CreateTime { get; set; }

    }
}
